home *** CD-ROM | disk | FTP | other *** search
/ Risc World 3 / Risc World 3.iso / SOFTWARE / ISSUE4 / ZAP / !Zap / Modules / !ZapBASIC / UK / HelpData next >
Text File  |  2002-05-08  |  3KB  |  90 lines

  1. | ****************************
  2. | * ZapBASIC - Dominic Symes *
  3. | ****************************
  4.  
  5. mode_basic
  6. Tokenised BASIC editing mode.
  7. Press SHIFT-F8 (RENUMBER) to renumber the program.
  8. Press SHIFT-CTRL-F to run the program.
  9. Press SHIFT-CTRL-E to save and then run the program.
  10.  
  11. mode_bastxt
  12. Detokenised BASIC editing mode.
  13. This is the same as the text mode except the program is tokenised on saving.
  14. Line numbers are inserted automatically in 1's.
  15. (So error at line 10 means the 10th line in the program).
  16.  
  17. mode_taskwindow
  18. Taskwindow input/output window.
  19. Most control letter keys and cursor keys are sent to the displayed task.
  20. Function keys and cursor-copying dealt with by Zap.
  21. Change to TEXT mode to suspend the task.
  22. Change back to TASKWINDOW mode to resume the task.
  23. Use ^C (COPYSEL) to copy the selected area to the input stream.
  24. Use ^Q (QUOTE) to force the next character to the task.
  25.  
  26. ASSEMBLE <string>
  27. Assembles the instruction given by <string>.
  28. Places it at the current cursor position (using its file address).
  29. Assembly is performed by spawning a BASIC program.
  30.  
  31. BASIC_CHECKBUF (ZapBASIC Tim Tyler)
  32. Checks the BASIC file for very simple syntax mistakes.
  33. Throwback is generated if there are any possible problems with the file.
  34. Messages currently include:
  35.  "Mismatched quotes"
  36.  "Mismatched brackets"
  37.  "Mismatched braces"
  38.  "THEN with no IF"
  39.  "Trailing spaces after THEN"
  40. The last is not really an error, more a common source of problems.
  41.  
  42. BASIC_FLAGSTOGGLE <word> (ZapBASIC Tim Tyler)
  43. This has the same syntax as the WFORMAT_TOGGLE command.  It ticks menu
  44. entries if it is attached to them.
  45.  
  46. BASIC_REMARK (ZapBASIC Tim Tyler)
  47. This turns the line the cursor is on into a REMark.  This is inserted after
  48. any leading spaces.  The command is probably best used bound to a key as:
  49. BASIC_REMARK:CRIGHT:DOWN:CLEFT - this also moves on to the next line.
  50.  
  51. BASIC_REMARKSEL (ZapBASIC Tim Tyler)
  52. This executes BASIC_REMARK on every line in the current selection.
  53.  
  54. BASIC_TWRUN (ZapBASIC Tim Tyler)
  55. This saves the program and then executes it in a TaskWindow.
  56.  
  57. BASIC_UNREMARK (ZapBASIC Tim Tyler)
  58. This removes the first REMark found in the line (if it exists).
  59. This command is probably best used bound to a key as:
  60. BASIC_UNREMARK:CRIGHT:DOWN:CLEFT - this also moves on to the next line.
  61.  
  62. BASIC_UNREMARKSEL (ZapBASIC Tim Tyler)
  63. This executes BASIC_UNREMARK on every line in the current selection.
  64.  
  65. DELWORDLEFT (ZapBASIC Paul Moore)
  66. Deletes one "word", to the left.
  67.  
  68. DELWORDRIGHT (ZapBASIC Paul Moore)
  69. Deletes one "word", to the right.
  70.  
  71. TASKWINDOW
  72. Opens a new task window (creating a new task).
  73.  
  74. TASKWINDOW_CONTROL (ZapBASIC Tim Tyler)
  75. This is used to suspend and unlink TaskWindows.
  76.   TASKWINDOW_CONTROL 0 - Suspend
  77.   TASKWINDOW_CONTROL 1 - Resume
  78.   TASKWINDOW_CONTROL 2 - Unlink
  79.   TASKWINDOW_CONTROL 3 - Relink
  80.   TASKWINDOW_CONTROL 4 - Kill
  81.   TASKWINDOW_CONTROL 5 - Resurrect
  82. When a Taskwindow is unlinked the task continues to execute, but no input is
  83. possible and no screen ouput is shown.
  84. When a Taskwindow is suspended execution of it stops temporarily.
  85. Taskwindows may also be suspended by changing out of TaskWindow mode.
  86.  
  87. TASKWINDOW_FLAGSTOGGLE (ZapBASIC Tim Tyler)
  88. This has the same syntax as the WFORMAT_TOGGLE command.  It ticks menu
  89. entries if it is attached to them.
  90.